﻿import request from '@/utils/request';
// list
export const zuopinleibieList = (params) => {
    return request({
        url: '/zuopinleibie/page',
        method: 'post',
        data: params,
    })
};
export const zuopinleibieDetail = (id) => {
    return request({
        url: '/zuopinleibie/'+id,
        method: 'get',
    })
};
// add
export const zuopinleibieSave = (params) => {
    return request({
        url: '/zuopinleibie',
        method: 'post',
        data: params,
    })
};
// updt
export const zuopinleibieEdit = (params) => {
    return request({
        url: '/zuopinleibie',
        method: 'put',
        data: params,
    })
};
// delete
export const zuopinleibieDelete = (id) => {
    return request({
        url: '/zuopinleibie/'+id,
        method: 'delete',
    })
};
// pldel
export const zuopinleibieDeleteList = (zuopinleibies) => {
    return request({
        url: '/zuopinleibie/deleteList',
        data:{list:zuopinleibies},
        method: 'post',
    })
};
// all
export const zuopinleibieAllList = () => {
    return request({
        url: '/zuopinleibie',
        method: 'get',
    })
};

